package com.liu.controller;

import org.springframework.web.bind.annotation.PutMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
public class StockController {


    @PutMapping("/stock")
    public String update(int goodsId){
        System.out.println("更新商品库存："+goodsId);
        return "ok";
    }

}
